package com.qianyucc.blog.model.entity;

import lombok.*;

import java.io.*;


/**
 * @author lijing
 * @date 2019-10-11 10:29
 * @description 对应数据库中评论表
 */
@Data
public class CommentDO implements Serializable {
    private static final long serialVersionUID = 2579396410780536304L;
    private Long id;
    private String articleId;
    private Long parentId;
    /**
     * 1表示文章评论，2表示二级评论
     */
    private Integer type;
    private String commentator;
    private String content;
    private Long gmtCreate;
    private Long gmtUpdate;
    private Long likes;
}
